package com.example.service;

import com.example.entity.Order;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface OrderService {

    Integer createOrder(String userId, Integer shopId);

    Order getOrderById(Integer orderId);

    List<Order> listOrderByUserId(String userId);

    Integer payOrder(Integer orderId);
}
